home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NeXTSTEP 3.3 (Developer)…68k, x86, SPARC, PA-RISC]
/
NeXTSTEP 3.3 Dev Intel.iso
/
NextDeveloper
/
Source
/
GNU
/
debug
/
gdb
/
Makefile
next >
Wrap
Makefile
|
1995-02-06
|
1KB
|
46 lines
SUBDIRS = include glob libiberty readline gdb
RC_ARCHS = `/usr/bin/arch`
RC_CFLAGS = -arch `/usr/bin/arch`
all clean install stub:
if [ $(RC_JASPER) ]; \
then \
for i in $(SUBDIRS) ; do \
echo =========== make $@ for $$i =============; \
(cd $$i; $(MAKE) $@ \
RC_CFLAGS="$(RC_CFLAGS)" \
RC_ARCHS="$(RC_ARCHS)" \
DSTROOT=$$DSTROOT \
OBJROOT=$(OBJROOT)/$$i \
SYMROOT=$$SYMROOT); \
done \
else \
for i in $(SUBDIRS) ; do \
echo =========== make $@ for $$i =============; \
(cd $$i; $(MAKE) $@ \
RC_CFLAGS="$(RC_CFLAGS)" \
RC_ARCHS="$(RC_ARCHS)"); \
done \
fi
installsrc installGNUsrc: SRCROOT
mkdirs $(SRCROOT)
cp Makefile Makefile.lib $(SRCROOT)
for i in `echo $(SUBDIRS)`; \
do \
echo =========== make $@ for $$i =============; \
(cd $$i; $(MAKE) SRCROOT=$$SRCROOT/$$i $@); \
done
$(DSTROOT):
mkdirs $@
SRCROOT:
@if [ -n "${$@}" ]; \
then \
exit 0; \
else \
echo Must define $@; \
exit 1; \
fi